# $Id: PKGBUILD 65369 2012-02-21 02:24:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>

pkgname=visitors
pkgver=0.7
pkgrel=3
pkgdesc='A very fast web log analyzer'
arch=('i686' 'x86_64')
url="http://www.hping.org/visitors/"
license=('GPL2' 'custom')
depends=('glibc')
source=(http://www.hping.org/visitors/$pkgname-$pkgver.tar.gz)
md5sums=('32ede76af83c6b1b7d2cdc5fe5178f6d')

build() {
  cd $srcdir/${pkgname}_${pkgver}
  make
  install -D visitors $pkgdir/usr/bin/visitors
  install -D iis2apache.pl $pkgdir/usr/bin/iis2apache.pl
  gzip visitors.1
  install -Dm644 visitors.1.gz $pkgdir/usr/share/man/man1/visitors.1.gz
  install -Dm644 COPYING $pkgdir/usr/share/licenses/visitors/COPYING
}
